home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
gnustuff
/
minix
/
libsrc~1.z
/
libsrc~1
/
fcntl.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1989-12-28
|
321 b
|
13 lines
#define __SRC__
#include "lib.h"
/* thanks Andy Michaels */
/* note this may need to be changes to a callx, if fcntl gets
stuff which needs arg to be a pointer etc (especially -mshort)
*/
PUBLIC int fcntl(des, cmd, arg)
int des, cmd, arg;
{
return callm1(FS, FCNTL, des, cmd, arg, NIL_PTR, NIL_PTR, NIL_PTR);
}